pp108 : Configured Task Definition

Configured Task Definition

This topic defines a configured task in the form of a code and explains about the parameters.


Configured Task refers to a group of tasks with a set of permissions granted, based on the role or user. Depending upon the role or user, a set of sub-tasks and related tasks are configured for that role or user.The below code snippet indicates the configured task definition.

<ConfiguredTasks dn="" xmlns="http://schemas.cordys.com/task/1.0/">
    <Task id="GUID of task" name="name of the task" type="type of task">
        <TaskParts>
            <TaskPart id="GUID of task part" isAvailable="true" name="name of task part"/>
            <TaskPart id="GUID of task part" isAvailable="false" name="name of task part"/>
        </TaskParts>
        <RelatedTasks>
            <Task id="GUID of task" isAvailable="true" name="name of the task"/>
            <Task id="GUID of task" isAvailable="true" name="name of the task"/>
        </RelatedTasks>
    </Task>
    <Task id="GUID of task" name="name of the task" type="type of task">
        <TaskParts>
            <TaskPart id="GUID of task part" isAvailable="false" name="name of task part"/>
            <TaskPart id="GUID of task part" isAvailable="true" name="name of task part"/>
        </TaskParts>
        <RelatedTasks>
            <Task id="GUID of task" isAvailable="false" name="name of the task"/>
            <Task id="GUID of task" isAvailable="false" name="name of the task"/>
        </RelatedTasks>
    </Task>
</ConfiguredTasks>

The table below gives the parameters of the configured task definition. The example considered here is Application tasks. This will help you understand the context of each parameter. The Application task is used to perform the following activities:

  • Shows Application details
  • Shows installation details
  • Shows content of Application
  • Installing Applications
  • Uninstalling Applications
  • Upgrading Applications
Table 1. Parameters of Configured Task Definition

Field

Description

Example

Configured Task

The role or user to which tasks have to be configureddn - The DN of the role or user

cn=systemAdmin,cn=organizational roles,o=system,$ldaproot

Task

  • ID - The unique identifier of the task.
  • Name - Name of the task.
  • Type - The type of task.
  • <GUID>
  • Application Management
  • UI task

TaskPart

  • ID - The unique identifier of the task.
  • Name - Name of the task.
  • isAvailable - Specifies if the task is available for the user.
  • Show Application Package details
  • true - TaskPart is available to userfalse - TaskPart is not available to user

Related Task

  • ID - The unique identifier of the task.
  • Name - Name of the task.
  • isAvailable - Specifies if the task is available for the user.
  • Load Application Packages
  • true - TaskPart is available to userfalse - TaskPart is not available to User